package com.nbjtjc.safe.bean;

import java.util.ArrayList;
import java.util.List;

public class TreeNode {
    private Integer id;
    private String value;
    private List<TreeNode> children=new ArrayList<>();
    public TreeNode() {
    }

    public TreeNode(Integer id, String value) {
        this.id = id;
        this.value = value;
    }

    public List<TreeNode> getChildren() {
        return children;
    }

    public void setChildren(List<TreeNode> children) {
        this.children = children;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
